﻿<%@ Page Title="" Language="C#" MasterPageFile="~/JewelleryHouse.Master" AutoEventWireup="true" CodeFile="ShoppingCard.aspx.cs" Inherits="Customer_ShopingCard" enableEventValidation="true"%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link rel="Stylesheet" href="../Styles/Custormer.css" type="text/css" />
    <style type="text/css">
        .allbtn
        {}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="gvshop">
        <asp:GridView ID="gvGioHang" runat="server" 
            BackColor="White" BorderColor="#999999" BorderWidth="1px" 
            CellPadding="3" Height="89px" 
            Width="649px" AutoGenerateColumns="False" 
            onrowcommand="gvGioHang_RowCommand" CssClass="gvShopping" 
            BorderStyle="Solid" ForeColor="Black" GridLines="Vertical" 
            DataKeyNames="ProductID" >
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <Columns>
                <asp:TemplateField HeaderText="ID" >
                <ItemTemplate>
                    <asp:Label ID="lblProductID" runat="server" Text='<%#Eval("ProductID") %>' CssClass="Style1" Width="40px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="ProductName">
                <ItemTemplate>
                    <asp:Label ID="lblProductName" runat="server" Text='<%#Eval("ProductName") %>' CssClass="Style1" Width="100px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Catelogy">
                <ItemTemplate>
                    <asp:Label ID="lblCatelogy" runat="server" Text='<%#Eval("Catelogy") %>' CssClass="Style1" Width="100px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Quantity">
                <ItemTemplate>
                    <asp:TextBox ID="txtQuantity" runat="server" Text='<%#Eval("Quantity") %>' Width="50px" CssClass="Style1"></asp:TextBox>
                    
                </ItemTemplate>
                </asp:TemplateField>

                <asp:TemplateField HeaderText="Weight">
                <ItemTemplate>
                    <asp:Label ID="lblWeight" runat="server" Text='<%#Eval("Weight") %>' CssClass="Style1" Width="40px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="Width">
                <ItemTemplate>
                    <asp:Label ID="lblWidth" runat="server" Text='<%#Eval("Width") %>' CssClass="Style1" Width="40px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="Lenght">
                <ItemTemplate>
                    <asp:Label ID="lblLenght" runat="server" Text='<%#Eval("Lenght") %>' CssClass="Style1" Width="40px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="Price">
                <ItemTemplate>
                    <asp:Label ID="lblPrice" runat="server" Text='<%#Eval("Price") %>' CssClass="Style1" Width="40px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                 <asp:TemplateField HeaderText="Total">
                <ItemTemplate>
                    <asp:Label ID="lblTotal" runat="server" Text='<%#Eval("Total") %>' CssClass="Style1" Width="40px"></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                <asp:ButtonField CommandName="btDelete" Text="Delete" />
            </Columns>
            <FooterStyle BackColor="#CCCCCC" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" 
                HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" ForeColor="White" Font-Bold="True" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#808080" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#383838" />
        </asp:GridView>
        <asp:Label ID="Label2" runat="server" Text="USD" CssClass="lbltotal"></asp:Label>
        <asp:Label ID="lblTotal" runat="server" CssClass="lbltotal"></asp:Label>
        <asp:Label ID="Label1" runat="server" Text="Total :" CssClass="lbltotal1"></asp:Label>
        
        <br />
        <asp:Button ID="btnHome" runat="server" Text="Home" 
            onclick="btnHome_Click"  CssClass="allbtn"/>    
        <asp:Button ID="btnDeleteShop" runat="server" Text="DeleteShop" 
        OnClick="btnDeleteShop_Click" CssClass="allbtn" Width="101px"/>
        <asp:Button ID="btnOrder"
            runat="server" Text="Order" onclick="btnOrder_Click" CssClass="allbtn" />
        <asp:Button ID="btnupdate" runat="server" onclick="btnupdate_Click" 
            Text="Update" CssClass="allbtn" />
    </div>
</asp:Content>

